﻿using System;
using System.Collections.Specialized;

namespace Web7.ExceptionHandling
{
	/// <summary>
	/// 异常处理程序应该实现的接口
	/// </summary>
	public interface IExceptionPublisher: Web7.Ioc.IDependency
	{
		void Initialize(NameValueCollection parameters);

		void Publish(Exception ex);
	}
}

/*
what happened
what will be affected
what the user can do from there
and any valuable support information
 */
